package com.ymm.system.api.utils;


/**
 * @Author zikang.yao
 * @Description TODO
 * @Date 2022/8/10 16:27
 * @Version 1.0
 */

public enum CarTypeEnum {
    /**
     * 小型面包
     */
    SMALL_VAN(1,"小面包车"),

    /**
     * 小型平板
     */
    SMALL_FLAT(2,"小型平板"),

    /**
     * 小型厢货
     */

    SMALL_TRUNK(3,"小型厢货"),

    /**
     * 中型面包
     */
    MEDIUM_VAN(4,"中型面包"),

    /**
     * 中型货车
     */
    MEDIUM_TRUNK(5,"中型货车"),

    /**
     * 6.8米
     */
    LARGE_6_8(6,"6米8大货车"),

    /**
     * 7.6米
     */
    LARGE_7_6(7,"7米6大货车"),

    /**
     * 9.6米大货车
     */
    LARGE_9_6(8,"9米6大货车");


    private Integer code;
    private String message;

    private CarTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "CarTypeEnum{" +
                "code=" + code +
                ", message='" + message + '\'' +
                '}';
    }
}
